code source game Bi-a 3D

23.691 lượt xem;
1
2 namespace
ThreeDPool.EventHandlers
3 {
4     
public struct GameInputEvent : IGameEvent
5     {
6         
// these states are named very generic here, so this avoids confusion when porting to other platform
7         
public enum States{
8             Default,
9             HorizontalAxisMovement,
10             VerticalAxisMovement,
11             Release,
12             Paused
13         }
14
15         
public float axisOffset;
16
17         
public States State;
18     }
19 }


Gõ tìm kiếm nhanh...